Skip to content

Conversation

rishabnotfound
Copy link

Removed redundant code === 0n checks in [kFinishClose] method (lib/internal/quic/quic.js:1386-1401). These conditionals were unreachable due to early return, reducing code complexity.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3. labels Oct 12, 2025
@rishabnotfound rishabnotfound changed the title Removed redundant code === 0n checks in [kFinishClose] method (lib/internal/quic/quic.js:1386-1401). These conditionals were unreachable due to early return, reducing code complexity. remove unreachable conditionals in kFinishClose Oct 12, 2025
@rishabnotfound
Copy link
Author

How long this might take?

@marco-ippolito marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 19, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 19, 2025
@nodejs-github-bot
Copy link
Collaborator

Copy link

codecov bot commented Oct 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.58%. Comparing base (3ac88a7) to head (d4b8760).
⚠️ Report is 53 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #60235      +/-   ##
==========================================
+ Coverage   88.54%   88.58%   +0.04%     
==========================================
  Files         704      704              
  Lines      208123   208426     +303     
  Branches    40006    40056      +50     
==========================================
+ Hits       184280   184639     +359     
+ Misses      15877    15822      -55     
+ Partials     7966     7965       -1     
Files with missing lines Coverage Δ
lib/internal/quic/quic.js 100.00% <100.00%> (ø)

... and 63 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Removed unreachable conditional checks in kFinishClose (lib/internal/quic/quic.js:1386–1401) that were redundant due to an early return, reducing code complexity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. quic Issues and PRs related to the QUIC implementation / HTTP/3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants